package com.lg.java.myclass;

/**
 * class执行顺序
 */
public class RunOrder {

    public  RunOrder() {
        System.out.println("构造方法22222222");
    }
    static{
        System.out.println("静态代码快111111");
    }
    public final int c = 1;
    public static int b1 = 1;
    public int a = 1;
    public static int b = 1;
    public int a1 = 1;
    public final int c2 = 1;
    static{
        System.out.println("静态代码快22222222");
    }
    public static void main(String[] args) {
        RunOrder runOrder = new RunOrder();
        RunOrder runOrder2 = new RunOrder();
        System.out.println("main");
    }
}
